import xadmin
from .models import *


class LikeModelConfig(object):
    list_display = ['user', 'blog', 'update_at']
    search_fields = ['user', 'blog']
    list_filter = ['user', 'blog', 'create_at', 'update_at']
    show_bookmarks = False
    model_icon = 'fa fa-edit'


xadmin.site.register(LikeModel, LikeModelConfig)
